<?php
$CI = &get_instance();
$CI->load->model('main_model');
$danhsachmang = $CI->main_model->get_danhsachmang();
$danhsachkho = $CI->main_model->get_danhsachkho();
?>
<div align="center">
	<?=form_open_multipart(site_url('admin/quanly/import'))?>
    <select name="mang">
<?php
		foreach($danhsachmang as $mang)
		{
?>
			<option value="<?=$mang->id?>"><?=$mang->tenmang?></option>
<?php
		}
?>
    </select>
    <select name="kho">
<?php
		foreach($danhsachkho as $kho)
		{
?>
			<option value="<?=$kho->id?>"><?=$kho->tenkho?></option>
<?php
		}
?>
    </select>
    <input type="file" name="csvfile"/>
    Số vip: <input type="checkbox" name="vip" value="vip"/>
    Số năm sinh: <input type="checkbox" name="namsinh" value="namsinh"/>
    <input type="submit" name="upload" value="upload"/>
    <br />
    <input type="checkbox" name="xoa" value="Xóa"/>Xóa
    <?=form_close()?>
</div>